def build_profile(first, last, **user_info):
    profile = {}
    profile['fist_name'] = first
    profile['last_name'] = last
    for key, value in user_info.items():
        profile[key] = value
    return profile

user_profile = build_profile('cheng', 'xiaoqi', location='hangzhou', field='physics')
print(user_profile)

def build_sand_switch(*food):
    print(food)
    # for key in food:
    #     print(key)

build_sand_switch('a', 'c', 'd')

def build_car(brand, type, **info):
    car = {}
    car['brand'] = brand
    car['type'] = type
    for key, value in info.items():
        car[key] = value

    return car

car = build_car('subaru', 'outback', color='blue', two_package=True)
print(car)